import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ThreadFactory;


class test1{

}
public class Test3 {

    public static void main(String[] args) {

        Thread thread1  =new Thread(){
            @Override
            public void run() {
                while (true) {
                    try {
                        Thread.sleep(1000);
                    } catch (InterruptedException e) {
                        throw new RuntimeException(e);
                    }
                    System.out.println("111111");
                }

            }
        };
        thread1.start();
        thread1.start();
        Set<Integer> hashSet = new HashSet<>();
        HashMap<Integer,Integer> map = new HashMap<>();
        map.put(1,2);

    }
}
